home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5245 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.1 KB

  1. Path: scream.ing.com!news
  2. From: "John C. Lund" <jlund@allaire.com>
  3. Newsgroups: comp.lang.pascal.delphi.misc,comp.lang.c++
  4. Subject: Re: Delphi calls to a C++ DLL
  5. Date: Fri, 02 Feb 1996 15:37:31 -0600
  6. Organization: Allaire
  7. Message-ID: <3112841B.5D2F@allaire.com>
  8. References: <310FD68B.208B@allaire.com> <4erttn$l9v@newsfeed.via.at>
  9. NNTP-Posting-Host: 206.144.133.15
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0b6a (Win95; I)
  14.  
  15. helicon wrote:
  16. >> nIndex:= GetFieldsForTable(strpcopy(pcharBuiffer,'Test'),
  17. >>    strpcopy(pcharBuiffer,''),
  18. >>    strpcopy(pcharBuiffer,''),
  19. >>    strpcopy(pcharBuiffer,'Employees'));
  20. > I think the problem is, that you use the same Buffer for 
  21. > each parameter. 
  22.  
  23. I wish that were the problem, but I'm afraid that's my clumsy 
  24. typing. "pcharBuiffer" is a typo. I use a different variable 
  25. for each buffer in the actual code.
  26.  
  27. I should mention that I'm running using 32 bit flavors of Delphi (2.0 
  28. beta), and Visual C++ 4.0 on both Windows 95 and Windows NT.
  29.  
  30. Thanks for responding, Andreas. 
  31.  
  32. -- 
  33. // John C. Lund  jlund@allaire.com  http//:www.allaire.com/
  34.